package task4_1;
import java.util.Scanner;

public class MusicBoxFactory {
	public static void main(String[] args){
		Scanner scan=new Scanner(System.in);
		String str=scan.next();
		MusicBox m=Factory.getlnstance(str);
		m.play();
	}
}